package com.huihuiyun.huihuiyun.server.domain;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 区域
 */
@Entity
@Table(name = "hhy_area")
@Data
public class HhyArea {
    public static final String NONE = "-";

    /* id */
    @Id
    public String id;

    /* 编码 */
    public String code;

    /* 省 */
    public String province = HhyArea.NONE;

    /* 市 */
    public String city = HhyArea.NONE;

    /* 区 */
    public String district = HhyArea.NONE;
}
